package com.pda.common.pages.productbill;

import com.pda.common.basemvp.present.BasePresenter;
import com.pda.common.bean.BillBean;

import java.util.List;

public class ProductBillPresent extends BasePresenter<ProductBillModel, ProductBillView> implements ProductBillModel.CallBack {
    public void showlist() {
        model.showlist(this);
    }

    public void showlist(String bill) {
        model.showlist(bill,this);
    }

    @Override
    public void onshowp(BillBean billBean) {
        if(view!=null)
        {
            view.showlist(billBean);
        }
    }

    @Override
    public void ontip(String str) {
        if(view!=null)
        {
            view.tip(str);
        }
    }
}


